package com.yima.baseproj.module.app.user.model;

import com.yima.baseproj.module.config.model.BaseEnum;

import java.io.Serializable;

public enum AppUserSexEnum implements BaseEnum {

    NAN("男"),
    NV("女"),
    WEIZHI("未知");

    private String remark;
    AppUserSexEnum(String remark) {
        this.remark = remark;
    }

    public String getRemark() {
        return remark;
    }

    @Override
    public Serializable getName() {
        return name();
    }

    /**
     * 是否相同
     * @param name
     * @return
     */
    public boolean isSame(String name){
        return name().equals(name);
    }
}
